package com.edu.exam.enums.exampaper.review;

import com.edu.exam.enums.core.BaseEnum;

/**
 * 匹配类型枚举
 */
public enum MatchType implements BaseEnum {
    EXACT("EXACT", "精确匹配"),
    APPROXIMATE("APPROXIMATE", "近似匹配"),
    PARTIAL("PARTIAL", "部分匹配"),
    FUZZY("FUZZY", "模糊匹配"),
    PATTERN("PATTERN", "模式匹配"),
    REGEX("REGEX", "正则匹配"),
    SEMANTIC("SEMANTIC", "语义匹配"),
    STRUCTURAL("STRUCTURAL", "结构匹配"),
    LEXICAL("LEXICAL", "词汇匹配"),
    SYNTACTIC("SYNTACTIC", "句法匹配"),
    CONTEXTUAL("CONTEXTUAL", "上下文匹配"),
    CONCEPTUAL("CONCEPTUAL", "概念匹配"),
    TOPIC("TOPIC", "主题匹配"),
    SUBSTRING("SUBSTRING", "子串匹配"),
    PHRASE("PHRASE", "短语匹配");

    private final String code;
    private final String description;

    MatchType(String code, String description) {
        this.code = code;
        this.description = description;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDescription() {
        return description;
    }
}
